package com.orange.lockscreen.common;

import android.net.Uri;
import android.os.Environment;

public interface Constants {
	String	APPROOTNAME		= "Lockscreen";

	String	MODEL_SAMSUNG	= "gt-i9001";
	String	MODEL_ACER		= "acer";
	String	MODEL_HTC		= "htc";
	String	MODEL_ZTE		= "san francisco";

	String	MEDIAPATH		= Environment.getExternalStorageDirectory()
									.getAbsolutePath()
									+ "/"
									+ APPROOTNAME
									+ "/";

	public interface Hanlder_Orientation {
		int	LEFT_TO_RIGHT	= 0;
		int	RIGHT_TO_LEFT	= 1;
	}

	/*
	 * Should be same with LSWidgetService.
	 */
	public interface LSWidget_Type {
		int	TYPE_INVALID	= 0x000;
		int	TYPE_WEATHER	= 0x100;
		int	TYPE_MUSIC		= 0x101;
		int	TYPE_EVENT		= 0x102;
		int	TYPE_TIMEDATE	= 0x103;
	}

	public interface Slat_Type {
		int	TYPE_MOVABLE			= 1;
		int	TYPE_UNLOCK				= 2;
		int	TYPE_MOVABLE_UNLOCK		= 3;
		int	TYPE_FIXED				= 4;
		int	TYPE_FIXED_NO_CONTENT	= 6;
	}

	public interface Slider_Msg {
		int	MSG_SLIDER_SELECTED			= 0x1000;
		int	MSG_SLIDER_OPENED			= 0x1001;
		int	MSG_SLIDER_CLOSED			= 0x1002;
		int	MSG_SLIDER_HIT_BROAD		= 0x1003;
		int	MSG_SLIDER_VISBLE			= 0x1004;
		int	MSG_SLIDER_CATCH_ON			= 0x1005;
		int	MSG_SLIDER_CATCH_OFF		= 0x1006;
		int	MSG_SLIDER_SINGLE_TAP		= 0x1007;
		int	MSG_SLIDER_DOUBLE_TAP		= 0x1008;
		int	MSG_SLIDER_SIMPLE_DOWN		= 0x1009;
		int	MSG_SLIDER_SWIPE			= 0x1010;
		int	MSG_SLIDER_MOVING			= 0x1011;
		int	MSG_CONTROL_LONG_CATCH_ON	= 0x2000;
		int	MSG_CONTROL_LONG_CATCH_OFF	= 0x2001;
	}

	int		DIM_OPACITY					= 0xFF;
	int		DIM_OPACITY_OFFSET			= 0x26;

	int		ANIMATION_DURATION			= 300;
	// public static final int DOCK_WIDTH = 80; hdpi
	// public static final int DOCK_WIDTH = 50; mdpi
	int		UNLOCK_DOCK_WIDTH			= 174;

	float	VIRBRATE_FACTOR				= 0.2f;

	String	ACTION_LOCKSCREEN_ENTER		= "com.lockscreen.enter";
	String	ACTION_LOCKSCREEN_EXIT		= "com.lockscreen.exit";
	String	ACTION_EVENT_OUTER			= "com.lockscreen.event.outer";
	String	ACTION_EVENT_INNER			= "com.lockscreen.event.inner";
	String	ACTION_EVENT_UNLOCK			= "com.lockscreen.event.unlock";
	String	ACTION_MUSIC_UNLOCK			= "com.lockscreen.music.unlock";
	String	ACTION_MUSIC_SLAT_OPENED	= "com.lockscreen.music.slat.opened";
	String	ACTION_MUSIC_SLAT_CLOSED	= "com.lockscreen.music.slat.closed";
	String	ACTION_MUSIC_PREV_LONGCLICK	= "com.lsmusic.previous.longclick";
	String	ACTION_MUSIC_PREV_TOUCH		= "com.lsmusic.previous.touch";
	String	ACTION_MUSIC_NEXT_LONGCLICK	= "com.lsmusic.next.longclick";
	String	ACTION_MUSIC_NEXT_TOUCH		= "com.lsmusic.next.touch";

	public interface Preference_Key {
		String	KEY_SLIDER_ORIENTATION			= "preference_slider_orientation";
		String	KEY_WALLPAPER_INDEX				= "preference_wallpaper_index";
		String	KEY_WALLPAPER_FROM_GALLERY		= "preference_wallpaper_from_gallery";
		String	KEY_WALLPAPER_FROM_HOMESCREEN	= "preference_use_homescreen_wallpaper";
		String	KEY_VIEW_EVENT_ENABLE			= "preference_widget_events";
		String	KEY_VIEW_NOTIFICATION_ENABLE	= "preference_widget_event_notification_screen";
		String	KEY_VIEW_MUSIC_ENABLE			= "preference_widget_music";
		String	KEY_UNLOCK_PROMPT				= "preference_unlock_prompts";
		String	KEY_VIEW_TD_ALARM				= "preference_lockscreen_time_alarm";
		String	KEY_VIEW_TD_BATTERY				= "preference_lockscreen_time_battery";
		String	KEY_DISABLE_LOCKSCREEN			= "preference_disable_lockscreen";
	}

	String	PREFERENCES_SETTINGS_NAME	= "com.orange.lockscreen.setting.preferences";

	String	PKG_LOCKSCREEN_SETTING		= "com.orange.lockscreensettings";
	String	PKG_NOTIFICATION_SUMMARY	= "com.orange.notificationsummary";
	String	PKG_LOCKSCREEN_SERVICE		= "com.orange.lswidget";
	String	PKG_ORANGE_HOMESCREEN		= "com.orange.homescreen";

	String	KEY_MUSIC_BTN_PREV			= "key_music_btn_prev_touch";
	String	KEY_MUSIC_BTN_NEXT			= "key_music_btn_next_touch";

	// public static final String GALLERY_WALLPAPER_PATH =
	// "/sdcard/wallpaper.jpg";

	String	AUTHORITY					= "com.orange.lswidget.lockscreendata";

	public interface Wallpaper_Provider {
		Uri		WALLPAPER_URI				= Uri.parse("content://"
													+ AUTHORITY + "/wallpaper");
		String	COLUMN_WALLPAPER_PICTURE	= "myWallpaper";
	}

	public interface Notification_Provider {
		Uri		NOTIFICATION_URI			= Uri.parse("content://"
													+ AUTHORITY
													+ "/notification");
		String	COLUMN_NOTIFICATION_COUNT	= "sumCount";
		String	COLUMN_UNREADMMS_COUNT		= "unreadmms_count";
		String	COLUMN_MISSCALL_COUNT		= "misscall_count";
		String	COLUMN_VOICEMAI_COUNT		= "voicemail_count";
	}

	public interface Music_Provider {
		Uri		MUSIC_URI					= Uri.parse("content://"
													+ AUTHORITY
													+ "/musicplayer");
		String	COLUMN_MUSIC_TRACK_SELECTED	= "selected";
	}

}
